package com.sluggard.security.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sluggard.security.manage.model.entity.OlogEntity;

import java.util.Date;

/**
 * <p>
 * 操作日志 服务类
 * </p>
 *
 * @author lizheng
 * @since 2024-04-28
 */
public interface IOlogService extends IService<OlogEntity> {
    void archive();

    void cleanup(Date beforeDate);

    void log(String moduleName, String actionName, String operateMessage);

    void log(String operateMessage);

    void log(Exception e);
}
